<?php
require_once "Sp.php";
use SimplePhp\Cache as cache;
use SimplePhp\Dispatcher as dispatcher;
use SimplePhp\System as system;

$Context = system\Context::getInstanct();
$rootpath = ROOT_PATH . DIRECTORY_SEPARATOR . "Controller";
// echo $rootpath;
$Context->setControllerPath($rootpath);

$ExecController = new dispatcher\ExecController();
$ExecController->exec();

cache\LocalFileCacheCommon::save("data_test1", ["kk2" => "1234"]);
// var_dump(cache\LocalFileCacheCommon::read("data_test"));
var_dump(cache\LocalFileCacheCommon::read());